#include "proc.hpp"

int main()
{
    int fd = open(fifoName.c_str(),O_RDONLY);
    if(fd < 0)
    {
        perror("open");
        exit(1);
    }

    char buff[64];
    ssize_t size = read(fd,buff,sizeof(buff) - 1);
    buff[size] = '\0';
    cout << buff << endl;
    close(fd);
    return 0;
}